package org.stream.answerduel.repository;

import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.stream.answerduel.entity.AnswerDetails;
import org.stream.answerduel.entity.sys.Account;

/**
 * 功能描述：
 *
 * @Auther: 苏建誉
 * @Date: 2019/7/01322:12
 */
@Repository
public interface AnswerDetailsRepository extends JpaRepository<AnswerDetails, Long> {

    Page<AnswerDetails> findByUserId(Long id, Pageable pageable);
}
